home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_300 / 333_02 / fs1.awk < prev    next >
Text File  |  1989-04-21  |  259b  |  14 lines

  1.  
  2. #  This sample demonstrates the use of the enhanced FS variable to split
  3. #  records on more complicated input files.
  4.  
  5.  
  6. BEGIN        {
  7.         OFS = "\t"
  8.         }
  9.  
  10.         # $1 is empty for each record
  11.         {
  12.         printf "%-20.20s %10s %16s\n", $2, $3, $4
  13.         }
  14.